//
//  TabBarHomeViewController.m
//  baseXCode
//
//  Created by cp on 2021/8/3.
//

#import "TabBarHomeViewController.h"
#import "ExampleViewController.h"
@interface TabBarHomeViewController ()

@end

@implementation TabBarHomeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(160, 205,50, 25)];
    button.titleLabel.font = [UIFont systemFontOfSize:14];
    [button setTitle:@"完成" forState:UIControlStateNormal];
    button.backgroundColor = UIColor.redColor;
    [button addTarget:self action:@selector(finishBtnClick)forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:button];
    
}
-(void)finishBtnClick
{
    ExampleViewController *vc = [[ExampleViewController alloc]init];
    [vc show];
}

@end
